home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Systemmonitors / PickPacket / src / request.c < prev    next >
C/C++ Source or Header  |  1996-09-26  |  939b  |  28 lines

  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
  2. * |_o_o|\\ Copyright (c) 1989 The Software Distillery.                    *
  3. * |. o.| ||          All Rights Reserved                                  *
  4. * | .  | ||          Written by John Toebes and Doug Walker               *
  5. * | o  | ||          The Software Distillery                              *
  6. * |  . |//           235 Trillingham Lane                                 *
  7. * ======             Cary, NC 27513                                       *
  8. *                    BBS:(919)-471-6436                                   *
  9. \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  10. #include "pickpack.h"
  11. #include "reqgen.h"
  12.  
  13. int reqinit()
  14. {
  15.    if(!(Request(&RequesterStructure1, Window))) return(-1);
  16.  
  17.    return(0);
  18. }
  19.  
  20. int reqkill()
  21. {
  22.    long l;
  23.  
  24.    stcd_l(BUFLENSIBuff, &l);
  25.    EndRequest(&RequesterStructure1, Window);
  26.  
  27.    return(l);
  28. }